#!/bin/bash

# script de compilacao dos modulos de visao computacional de cv-modules
# esse script deve ser executado na pasta cv-modules

echo "Compilando TableTranscriber2..."
cd TableTranscriber2
make
cp dist/Debug/GNU-Linux-x86/tabletranscriber2 .
echo "Compilacao terminada"

echo "------------------------------------------------------------------"

echo "Compilando TesseractExecutor2..."
cd ../TesseractExecutorApp2
make
cp dist/Debug/GNU-Linux-x86/tesseractexecutorapp2 .
echo "Compilacao terminada"

echo "------------------------------------------------------------------"

echo "Compilando ZoomingSelector..."
cd ../ZoomingSelector
make
cp dist/Debug/GNU-Linux-x86/zoomingselector .
echo "Compilacao terminada"

#echo "------------------------------------------------------------------"

#echo "Compilando QualityMeasurerTT..."
#cd ../QualityMeasurerTT
#make
#cp dist/Debug/GNU-Linux-x86/qualitymeasurertt .
#echo "Compilacao terminada"

#echo "------------------------------------------------------------------"

#echo "Compilando QualityMeasurerTE..."
#cd ../QualitMeasurerTE
#make
#cp dist/Debug/GNU-Linux-x86/qualitymeasurerte .
#echo "Compilacao terminada"
